package com.tjshop.android.model.tj.json;

import java.io.Serializable;

import org.json.JSONArray;
import org.json.JSONObject;

import com.tjshop.android.model.BaseObject;

public class UserInfo extends BaseObject implements Serializable {
	private String user_name;//"user_name": cmkhie,
    private String alias;//"alias": "",
    private String user_rank;//"user_rank": "",
    private String user_money;//"user_money": 74.00,
    private String pay_points;//"pay_points": 179

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getUser_rank() {
		return user_rank;
	}

	public void setUser_rank(String user_rank) {
		this.user_rank = user_rank;
	}

	public String getUser_money() {
		return user_money;
	}

	public void setUser_money(String user_money) {
		this.user_money = user_money;
	}

	public String getPay_points() {
		return pay_points;
	}

	public void setPay_points(String pay_points) {
		this.pay_points = pay_points;
	}

	public void parse(JSONObject obj) {
		setAlias(getString(obj, "alias"));
		setPay_points(getString(obj, "pay_points"));
		setUser_money(getString(obj, "user_money"));
		setUser_name(getString(obj, "user_name"));
		setUser_rank(getString(obj, "user_rank"));
	}

	@Override
	public void parse(JSONArray data) {
		// TODO Auto-generated method stub
		
	}


}
